Skip to content

Conversation

@junnyontop-pixel
Copy link

This PR documents that fs.copyFile() always dereferences symbolic links, as requested in #61518.

When src is a symbolic link, the contents of the target file are copied instead of the link itself.

Fixes: #61518

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label Feb 4, 2026
@junnyontop-pixel
Copy link
Author

Sorry, I accidentally included a README change from my main branch. I will fix this PR to only include fs.md changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document that fs.copyFile() dereferences symlinks

2 participants